package com.lib.model.dto;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;

import oracle.sql.DATE;
/*CREATE TABLE member
(
	name  VARCHAR2(100)  null ,
	birthday  DATE  NULL ,
	phonenum  VARCHAR2(100)  NULL ,
	cellnum  VARCHAR2(100)  NULL ,
	email  VARCHAR2(100)  NULL ,
	detail_address  VARCHAR2(100)  NULL ,
	restrictdate  DATE  NULL ,
	auth  NUMBER(1)  NULL ,
	id  VARCHAR2(100)  primary key ,
	password  VARCHAR2(100)  NULL ,
	regidate  DATE  NULL ,
	zipcode_num  VARCHAR2(100)  NULL ,
	address  VARCHAR2(100)  NULL 
);*/

public class MemberDto implements Serializable {
	private int rn;
	private String name;
	private Date birthday;
	private String phonenum;
	private String cellnum;
	private String email;
	private String detail_address;
	private Date restrictdate;
	private int auth;
	private String password;
	private Timestamp regidate;
	private String zipcode_num;
	private String address;
	private String rrn;
	private String id;
	
	public MemberDto() {
	}
	
	
	public MemberDto(String id, String password) {
		super();
		this.id = id;
		this.password = password;
	}

	public MemberDto(int rn, String id, String password, String name, String rrn,
			Date birthday, String phonenum, String cellnum, String email,
			String zipcode_num, String address, String detail_address,
			int auth, Timestamp regidate, Date restrictdate) {
		super();
		this.rn = rn;
		this.id = id;
		this.password = password;
		this.name = name;
		this.rrn = rrn;
		this.birthday = birthday;
		this.phonenum = phonenum;
		this.cellnum = cellnum;
		this.email = email;
		this.zipcode_num = zipcode_num;
		this.address = address;
		this.detail_address = detail_address;
		this.auth = auth;
		this.regidate = regidate;
		this.restrictdate = restrictdate;
	}

	

	public int getRn() {
		return rn;
	}


	public void setRn(int rn) {
		this.rn = rn;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public Date getBirthday() {
		return birthday;
	}


	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}


	public String getPhonenum() {
		return phonenum;
	}


	public void setPhonenum(String phonenum) {
		this.phonenum = phonenum;
	}


	public String getCellnum() {
		return cellnum;
	}


	public void setCellnum(String cellnum) {
		this.cellnum = cellnum;
	}


	public String getEmail() {
		return email;
	}


	public void setEmail(String email) {
		this.email = email;
	}


	public String getDetail_address() {
		return detail_address;
	}


	public void setDetail_address(String detail_address) {
		this.detail_address = detail_address;
	}


	public Date getRestrictdate() {
		return restrictdate;
	}


	public void setRestrictdate(Date restrictdate) {
		this.restrictdate = restrictdate;
	}


	public int getAuth() {
		return auth;
	}


	public void setAuth(int auth) {
		this.auth = auth;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public Timestamp getRegidate() {
		return regidate;
	}


	public void setRegidate(Timestamp regidate) {
		this.regidate = regidate;
	}


	public String getZipcode_num() {
		return zipcode_num;
	}


	public void setZipcode_num(String zipcode_num) {
		this.zipcode_num = zipcode_num;
	}


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getAddress() {
		return address;
	}


	public void setAddress(String address) {
		this.address = address;
	}


	public String getRrn() {
		return rrn;
	}


	public void setRrn(String rrn) {
		this.rrn = rrn;
	}


	@Override
	public String toString() {
		return "MemberDto [rn=" + rn + ", name=" + name + ", birthday="
				+ birthday + ", phonenum=" + phonenum + ", cellnum=" + cellnum
				+ ", email=" + email + ", detail_address=" + detail_address
				+ ", restrictdate=" + restrictdate + ", auth=" + auth
				+ ", password=" + password + ", regidate=" + regidate
				+ ", zipcode_num=" + zipcode_num + ", address=" + address
				+ ", rrn=" + rrn + ", id=" + id + "]";
	}

	
}
